from odoo import fields, models


class MrpBomProductReplace(models.Model):
    _name = 's.mrp.bom.product.replace'
    _description = 'Mrp Bom Product Replace'

    sale_id = fields.Many2one('sale.order', string='Sale')
    forecast_order_id = fields.Many2one('s.forecast.order', string='Forecast Order')
    forecast_order_line_id = fields.Many2one('s.forecast.order.line', string='Forecast Order')
    finished_product = fields.Many2one('product.product', string='finished product')
    origin_product_id = fields.Many2one('product.product', string='origin product')
    replace_product_id = fields.Many2one('product.product', string='replace product')
